import mysql.connector.pooling

__config={
    "host":"rm-bp1k95zumtf884o0spo.mysql.rds.aliyuncs.com",
    "port":3306,
    "user":"user_root",
    "password":"Linyi888121dsda",
    "database":"vega",
    "pool_name": "vega_pool",
}

try:
    pool=mysql.connector.pooling.MySQLConnectionPool(
        **__config,
        pool_size=10
    )
except Exception as e:
    print(e)